<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>IWEB餐饮后台管理系统</title>
    <style>
        /* 全局样式 */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f7fa;
            color: #333;
        }

        /* 顶部样式 */
        #top {
            background-color: #2c3e50;
            height: 60px;
            display: flex;
            align-items: center;
        }

        #topleft {
            width: 200px;
            background-color: #233140;
            height: 100%;
        }

        /* 中间欢迎信息和退出按钮样式 */
        #middle {
            background-color: #ecf0f1;
            padding: 15px;
            position: relative;
            border-bottom: 1px solid #dce4ec;
        }

        #middle span {
            font-size: 16px;
        }

        #middle a {
            color: #e74c3c;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        #middle a:hover {
            color: #c0392b;
        }

        /* 主体内容样式 */
        #body {
            display: flex;
            height: calc(100vh - 140px);
        }

        #bodyleft {
            width: 200px;
            background-color: #34495e;
            overflow-y: auto;
        }

        #bodyleft iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        #bodyright {
            flex: 1;
            background-color: #fff;
            padding: 20px;
            overflow-y: auto;
        }

        #bodyright iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        /* 底部版权信息样式 */
        #footer {
            background-color: #2c3e50;
            color: #bdc3c7;
            text-align: center;
            padding: 10px;
            font-size: 14px;
        }
    </style>
    <link rel="stylesheet" type="text/css" href="/dish20250327/css/main.css" />
    <script type="text/javascript" src="/dish20250327/js/jquery-3.2.1.js"></script>
    <script type="text/javascript">
        $(function () {
            var url = "/dish20250327/queryFullname.manager";
            $.post(url, function (data) {
                // if(data==null || $.trim(data)=="null"){
                //     window.location.href="./login.html";
                // }else{
                var jsonObj = JSON.parse(data);
                var fullname = jsonObj.managerfullname;
                $("#managerfullname").html(fullname);
                // }
            })
        })
    </script>
</head>

<body>
<div id="top">
    <div id="topleft"></div>
</div>
<div id="middle">
    <span>[<span id="managerfullname"></span>] : 欢迎登陆IWEB餐饮后台管理系统</span> <span
        style="position: absolute; right: 10px;">
            <a href="/dish20250327/logout.manager">退出系统</a></span>
</div>
<div id="body">
    <div id="bodyleft">
        <iframe src="menu.html"></iframe>
    </div>
    <div id="bodyright">
        <iframe src="/dish20250327/toList.category?pageNo=1&likeValue=" name="show"></iframe>
    </div>
</div>
<div id="footer">版权所有：南京市艾瑞职业培训学校 ICP备案 ：苏ICP备15022503号-1</div>
</body>

</html>